package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.base.enums.FlagEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 患者家人对象 patient_detail
 *
 * @author ym
 * @date 2020-08-21
 */
@ApiModel("患者家人-列表")
@Data
public class PatientDetailListPcVO implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("主键")
	private Long id;

	@ApiModelProperty("用户主键")
	private Long userId;

	@ApiModelProperty("姓名")
	private String name;

	@ApiModelProperty("身份证号")
	private String idNo;

	@ApiModelProperty("体重")
	private String weight;

	@ApiModelProperty("性别")
	private String sex;

	@ApiModelProperty("出生日期")
	private String birthday;

	@ApiModelProperty("电话号码")
	private String phoneNo;

	@ApiModelProperty("与用户关系")
	private String relation;

	@ApiModelProperty("默认选中")
	@JsonSerialize(converter = FlagEnum.Covert.class)
	private String defaultUse;

	@ApiModelProperty("状态")
	@JsonSerialize(converter = FlagEnum.Covert.class)
	private String deleted;

}
